﻿package conf

import (
	"GoServer/srvbase/jsh"
)
var confjsonpath = "Config\\Base\\Json\\"
//ClassConfigBagStart1
//背包 	// B_背包.xlsx 
var ConfBag map[string]ConfigBag
//ClassConfigBagEnd1
//ClassConfigBreakStart1
//突破 	// T_通用.xlsx 
var ConfBreak map[string]ConfigBreak
//ClassConfigBreakEnd1
//ClassConfigDrawStart1
//抽卡 	// C_抽卡.xlsx 
var ConfDraw map[string]ConfigDraw
//ClassConfigDrawEnd1
//ClassConfigDrawPoolStart1
//抽卡奖池 	// C_抽卡.xlsx 
var ConfDrawPool map[string]ConfigDrawPool
//ClassConfigDrawPoolEnd1
//ClassConfigDropStart1
//掉落 	// D_掉落.xlsx 
var ConfDrop map[string]ConfigDrop
//ClassConfigDropEnd1
//ClassConfigExpStart1
//经验 	// T_通用.xlsx 
var ConfExp map[string]ConfigExp
//ClassConfigExpEnd1
//ClassConfigForgeStart1
//铸造 	// T_通用.xlsx 
var ConfForge map[string]ConfigForge
//ClassConfigForgeEnd1
//ClassConfigHelpStart1
//帮助 	// B_帮助.xlsx 
var ConfHelp map[string]ConfigHelp
//ClassConfigHelpEnd1
//ClassConfigHeroStart1
//英雄 	// Y_英雄.xlsx 
var ConfHero map[string]ConfigHero
//ClassConfigHeroEnd1
//ClassConfigItemStart1
//道具 	// D_道具.xlsx 
var ConfItem map[string]ConfigItem
//ClassConfigItemEnd1
//ClassConfigLanguageStart1
//文本 	// B_本地化配置表.xlsx 
var ConfLanguage map[string]ConfigLanguage
//ClassConfigLanguageEnd1
//ClassConfigMailTextStart1
//E邮件文本 	// B_Lang邮件.xlsx 
var ConfMailText map[string]ConfigMailText
//ClassConfigMailTextEnd1
//ClassConfigProtocolResultStart1
//E错误码 	// B_Lang返回码.xlsx 
var ConfProtocolResult map[string]ConfigProtocolResult
//ClassConfigProtocolResultEnd1
//ClassConfigReforgeCostStart1
//重铸消耗 	// T_通用.xlsx 
var ConfReforgeCost map[string]ConfigReforgeCost
//ClassConfigReforgeCostEnd1
//ClassConfigStarCostStart1
//升星消耗 	// T_通用.xlsx 
var ConfStarCost map[string]ConfigStarCost
//ClassConfigStarCostEnd1
//ClassGlobalConfigStart1
//E全局常数 	// Q_全局常数.xlsx 
var GlobalConf map[string]GlobalConfig
//ClassGlobalConfigEnd1
func ConfInit() {
//ClassConfigBagStart2
//背包 	// B_背包.xlsx 
	ConfBag = make(map[string]ConfigBag)
	jsh.F2O(confjsonpath + "ConfigBag.json", &ConfBag)
	//fmt.Println(jsh.O2J(ConfBag))
//ClassConfigBagEnd2
//ClassConfigBreakStart2
//突破 	// T_通用.xlsx 
	ConfBreak = make(map[string]ConfigBreak)
	jsh.F2O(confjsonpath + "ConfigBreak.json", &ConfBreak)
	//fmt.Println(jsh.O2J(ConfBreak))
//ClassConfigBreakEnd2
//ClassConfigDrawStart2
//抽卡 	// C_抽卡.xlsx 
	ConfDraw = make(map[string]ConfigDraw)
	jsh.F2O(confjsonpath + "ConfigDraw.json", &ConfDraw)
	//fmt.Println(jsh.O2J(ConfDraw))
//ClassConfigDrawEnd2
//ClassConfigDrawPoolStart2
//抽卡奖池 	// C_抽卡.xlsx 
	ConfDrawPool = make(map[string]ConfigDrawPool)
	jsh.F2O(confjsonpath + "ConfigDrawPool.json", &ConfDrawPool)
	//fmt.Println(jsh.O2J(ConfDrawPool))
//ClassConfigDrawPoolEnd2
//ClassConfigDropStart2
//掉落 	// D_掉落.xlsx 
	ConfDrop = make(map[string]ConfigDrop)
	jsh.F2O(confjsonpath + "ConfigDrop.json", &ConfDrop)
	//fmt.Println(jsh.O2J(ConfDrop))
//ClassConfigDropEnd2
//ClassConfigExpStart2
//经验 	// T_通用.xlsx 
	ConfExp = make(map[string]ConfigExp)
	jsh.F2O(confjsonpath + "ConfigExp.json", &ConfExp)
	//fmt.Println(jsh.O2J(ConfExp))
//ClassConfigExpEnd2
//ClassConfigForgeStart2
//铸造 	// T_通用.xlsx 
	ConfForge = make(map[string]ConfigForge)
	jsh.F2O(confjsonpath + "ConfigForge.json", &ConfForge)
	//fmt.Println(jsh.O2J(ConfForge))
//ClassConfigForgeEnd2
//ClassConfigHelpStart2
//帮助 	// B_帮助.xlsx 
	ConfHelp = make(map[string]ConfigHelp)
	jsh.F2O(confjsonpath + "ConfigHelp.json", &ConfHelp)
	//fmt.Println(jsh.O2J(ConfHelp))
//ClassConfigHelpEnd2
//ClassConfigHeroStart2
//英雄 	// Y_英雄.xlsx 
	ConfHero = make(map[string]ConfigHero)
	jsh.F2O(confjsonpath + "ConfigHero.json", &ConfHero)
	//fmt.Println(jsh.O2J(ConfHero))
//ClassConfigHeroEnd2
//ClassConfigItemStart2
//道具 	// D_道具.xlsx 
	ConfItem = make(map[string]ConfigItem)
	jsh.F2O(confjsonpath + "ConfigItem.json", &ConfItem)
	//fmt.Println(jsh.O2J(ConfItem))
//ClassConfigItemEnd2
//ClassConfigLanguageStart2
//文本 	// B_本地化配置表.xlsx 
	ConfLanguage = make(map[string]ConfigLanguage)
	jsh.F2O(confjsonpath + "ConfigLanguage.json", &ConfLanguage)
	//fmt.Println(jsh.O2J(ConfLanguage))
//ClassConfigLanguageEnd2
//ClassConfigMailTextStart2
//E邮件文本 	// B_Lang邮件.xlsx 
	ConfMailText = make(map[string]ConfigMailText)
	jsh.F2O(confjsonpath + "ConfigMailText.json", &ConfMailText)
	//fmt.Println(jsh.O2J(ConfMailText))
//ClassConfigMailTextEnd2
//ClassConfigProtocolResultStart2
//E错误码 	// B_Lang返回码.xlsx 
	ConfProtocolResult = make(map[string]ConfigProtocolResult)
	jsh.F2O(confjsonpath + "ConfigProtocolResult.json", &ConfProtocolResult)
	//fmt.Println(jsh.O2J(ConfProtocolResult))
//ClassConfigProtocolResultEnd2
//ClassConfigReforgeCostStart2
//重铸消耗 	// T_通用.xlsx 
	ConfReforgeCost = make(map[string]ConfigReforgeCost)
	jsh.F2O(confjsonpath + "ConfigReforgeCost.json", &ConfReforgeCost)
	//fmt.Println(jsh.O2J(ConfReforgeCost))
//ClassConfigReforgeCostEnd2
//ClassConfigStarCostStart2
//升星消耗 	// T_通用.xlsx 
	ConfStarCost = make(map[string]ConfigStarCost)
	jsh.F2O(confjsonpath + "ConfigStarCost.json", &ConfStarCost)
	//fmt.Println(jsh.O2J(ConfStarCost))
//ClassConfigStarCostEnd2
//ClassGlobalConfigStart2
//E全局常数 	// Q_全局常数.xlsx 
	GlobalConf = make(map[string]GlobalConfig)
	jsh.F2O(confjsonpath + "GlobalConfig.json", &GlobalConf)
	//fmt.Println(jsh.O2J(GlobalConf))
//ClassGlobalConfigEnd2
}
